package com.yango.teach.service;

import com.yango.teach.entity.Subject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yango.teach.entity.vo.subject.OneSubjectVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author LiDingYin
 * @since 2021-07-24
 */
public interface SubjectService extends IService<Subject> {

    //Excel导入课程分类
    void importSubject(MultipartFile file, SubjectService subjectService);

    //获取分类列表（树形结构）
    List<OneSubjectVo> getSubjectList();
}
